package com.bestcem.xm.txtanls.service.impl;

import com.bestcem.xm.txtanls.dao.ViewpointDao;
import com.bestcem.xm.txtanls.entity.pojo.ViewpointDO;
import com.bestcem.xm.txtanls.service.ViewpointService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 话题service实现类
 *
 * @author liheng
 * @version v1.0
 * @date 2021/5/10-17:24
 */
@Service
@Slf4j
public class ViewpointServiceImpl implements ViewpointService {

    @Resource
    private ViewpointDao viewpointDao;

    @Override
    public ViewpointDO getById(String id) {
        return viewpointDao.getById(id);
    }
}
